<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <script>
        var a = 10;
        var b = 5;
        var c = 5;
        var d = "5";// d 是一个字符串
        console.log("a > b : "+ (a > b));
        console.log("a < b : "+ (a < b));
        console.log("a >= b: "+ (a >= b));

        console.log("b == c : "+ (b == c));
        console.log("b === c: "+ (b === c));

        console.log("c == d : "+ (c == d));
        //=== 比较的是值和内容（c是number型，d是String型）
        console.log("c === d: "+ (c === d));
    </script>
</body>
</html>